import unittest
from studay_day6 import BaiDu
# suite=unittest.TestSuite()
# suite.addTest(baidu('test_search1'))
# suite.addTest(baidu('test_search2'))

# suite=unittest.TestLoader().loadTestsFromTestCase(baidu)

# discover()

suite=unittest.defaultTestLoader.discover(start_dir='./',pattern='stu*.py')

runner=unittest.TextTestRunner()
runner.run(suite)